'Declaration
Public Overloads Overridable Sub SaveToStream( _ ByVal stream As System.IO.Stream, _ ByVal imageFormat As NImageFormat, _ ByVal bounds As NRectangle, _ ByVal dpi As System.Double, _ Optional ByVal encoderSettings As NImageEncoderSettings _ )
'Usage
Dim instance As NRasterImageExporter(Of TContent) Dim stream As System.IO.Stream Dim imageFormat As NImageFormat Dim bounds As NRectangle Dim dpi As System.Double Dim encoderSettings As NImageEncoderSettings instance.SaveToStream(stream, imageFormat, bounds, dpi, encoderSettings)
public virtual void SaveToStream( System.IO.Stream stream, NImageFormat imageFormat, NRectangle bounds, System.double dpi, NImageEncoderSettings encoderSettings )
Parameters
- stream
- The stream to save the image to.
- imageFormat
- The image format to save in.
- bounds
- Bounding box of the area to be exported.
- dpi
- Image resoltuion in DPI.
- encoderSettings
- Optional image encoder settings.